<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ARFRE Dental</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
<link href="<?php echo Yii::app()->theme->baseUrl ?>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo Yii::app()->theme->baseUrl ?>/css/layout.css" rel="stylesheet" type="text/css" />
<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/js/cufon-yui.js" type="text/javascript"></script>
<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/js/cufon-replace.js" type="text/javascript"></script>
<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/js/Myriad_Pro_400.font.js" type="text/javascript"></script>
<script src="<?php echo Yii::app()->theme->baseUrl ?>/js/js/Myriad_Pro_600.font.js" type="text/javascript"></script>
<!--[if lt IE 7]>
	<link href="ie_style.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body id="page1">
<!-- header -->
<div id="header">


	<div class="container">
<!-- .logo -->
		<div class="logo">
			<img src="<?php echo Yii::app()->theme->baseUrl ?>/images/logo.png" alt="ARFRE Dental" width="235px"/>
		</div>		
		
		<div class="ribbon">
			<img src="<?php echo Yii::app()->theme->baseUrl ?>/images/blueribbon.jpg" alt="ARFRE Dental" height="90px" />
		</div>
<!-- /.logo -->

<!-- .nav -->

	

<!-- /.nav -->
<!-- .extra-box -->
	<div class="extra-box">
		<div class="inner">
			<br>
			<ul>
				<li><?php echo CHtml::link('INICIO',array('/site/index')); ?></li>
				<li><?php echo CHtml::link('SERVICIOS',array('/site/page', 'view'=>'about')); ?></a></li>
				<li><?php
					if(Yii::app()->user->isGuest)
						echo CHtml::link('MI CUENTA',array('site/login')); 
					else
						echo CHtml::link('MI PERFIL',array('cliente/viewUser', 'user'=>Yii::app()->user->name)); 
				?></li>
				<?php 
					if(Yii::app()->user->isGuest)
						echo "<li>".CHtml::link('REGISTRARSE',array('/usuario/registrarUsuario'))."</li>";  
				?>	
				<li><?php echo CHtml::link('CONTÁCTENOS',array('/site/contact')); ?></a></li>
				<?php 
					if(!(Yii::app()->user->isGuest))
						echo "<li>".CHtml::link('SALIR ('.Yii::app()->user->name.')',array('site/logout'))."</li>"; 
					?>
			</ul>
		</div>
	</div>
<!-- /.extra-box -->

<!-- .intro-text -->
	<div class="intro-text">
			<hr color=blue >	
		<div id="breadcrumdiv" style="background-color:#2E2EFE;">
			<?php if(isset($this->breadcrumbs)):?>
				<?php 
				echo " ";
				$this->widget('zii.widgets.CBreadcrumbs', array(
					'homeLink'=>CHtml::link('Inicio', array('/site/index')),
					'links'=>$this->breadcrumbs,
				)); ?><!-- breadcrumbs -->
			<?php endif?>	


		</div>
		


		
		
		<!-- content -->
		<?php echo $content ?>
		
	</div>
<!-- /.intro-text -->
	</div>
</div>



<footer>

<br>
<br>
<br>
<br>
<br>
<br>
<br>

	<div id="footer">
		<br>
		Derechos Reservados &copy; <?php echo date('Y'); ?>, ARFRE Dental.<br/>
			<?php echo Yii::powered(); ?>
	</div>
 </footer>
<script type="text/javascript"> Cufon.now(); </script>
</body>
</html>

